﻿using System;

namespace SlamDunk.MES.Domain.Entities.QualityContext
{
    /// <summary>
    /// 作业计划质量检查
    /// </summary>
    public class ExecutionPlanInspection : QualityInspection
    {
        #region # 构造器

        #region 00.无参构造器
        /// <summary>
        /// 无参构造器
        /// </summary>
        protected ExecutionPlanInspection() { }
        #endregion

        #region 01.创建作业计划质量检查构造器
        /// <summary>
        /// 创建作业计划质量检查构造器
        /// </summary>
        /// <param name="inspectionNo">质量检查编号</param>
        /// <param name="inspectionName">质量检查名称</param>
        /// <param name="inspectedDate">质检日期</param>
        /// <param name="executionPlanId">作业计划Id</param>
        /// <param name="description">描述</param>
        public ExecutionPlanInspection(string inspectionNo, string inspectionName, DateTime inspectedDate, Guid executionPlanId, string description)
            : base(inspectionNo, inspectionName, inspectedDate, description)
        {
            this.ExecutionPlanId = executionPlanId;
        }
        #endregion

        #endregion

        #region # 属性

        #region 作业计划Id —— Guid ExecutionPlanId
        /// <summary>
        /// 作业计划Id
        /// </summary>
        public Guid ExecutionPlanId { get; private set; }
        #endregion

        #endregion
    }
}
